<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Filter Data Setup</title>
<script type="text/javascript"
	src="<c:url value="/resources/js/jquery-1.11.0.min.js" />"></script>
<script type="text/javascript"
	src="<c:url value="/resources/js/bootstrap.js " />"></script>

<link href="<c:url value="/resources/css/bootstrap.min.css " />"
	rel="stylesheet" type="text/css" />
<link href="<c:url value="/resources/css/style.css" />" rel="stylesheet"
	type="text/css" />
<link href="<c:url value="/resources/css/common.css" />"
	rel="stylesheet" type="text/css" />
<link href="<c:url value="/resources/css/backend/style.css" />"
	rel="stylesheet" type="text/css" /></link>
</head>
<body>
	<div class="main_wrapper">
		<div class="header_wrapper">
			<div class="container-fluid">
				<div class="header_inner_wrapper clearfix">
					<div class="row-fluid">
						<div class="header_left span4">Company Data Setup</div>
					</div>
				</div>
				<div class="content_wrapper">
					<div class="container-fluid">
						<div class="row-fluid">
							<div class="input_box_wrapper">
								<div class="input_box_wrapper_text_aery">
									<div class="span6">

										<form:form method="POST" commandName="filter"
											action="${pageContext.request.contextPath}/admin/filter/add/process.html"
											class="form-horizontal">
											<div>${message}</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Filter
													Category :</label>
												<div class="controls">
													<form:select itemValue="id" itemLabel="filterType"
														path="filterCategory.id" items="${filterCategoriesMap}">
													</form:select>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Module
													:</label>
												<div class="controls">
													<form:select itemValue="id" itemLabel="name"
														path="module.id" items="${moduleMap}">
													</form:select>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Filter
													Value :</label>
												<div class="controls">
													<form:input path="filterValues" />
												</div>
											</div>
											<input class="btn btn-inverse save" type="submit"
												value="Save" />

										</form:form>
										<div class="btn btn-info">
											<a href="/StockScreener/admin/admin_home.html">Admin Home
											</a>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>